package origin.db.po;
import java.sql.Timestamp;

public class Announce implements java.io.Serializable {


	private int announceid;
	private int adminid;
	private String announcecontent;
	private Timestamp announcetime;

	// Constructors

	/** default constructor */
	public Announce() {
	}

	/** minimal constructor */
	public Announce(int announceid) {
		this.announceid = announceid;
	}

	/** full constructor */
	public Announce(int announceid,int adminid,String announcecontent,Timestamp announcetime) {
		this.announceid = announceid;
		this.adminid = adminid;
		this.announcecontent = announcecontent;
		this.announcetime=announcetime;
	}

	// Property accessors

	public int getAnnounceid() {
		return this.announceid;
	}

	public void setAnnounceid(int id) {
		this.announceid = id;
	}
	
	public int getAdminid() {
		return this.adminid;
	}

	public void setAdminid(int id) {
		this.adminid = id;
	}

	public String getAnnouncecontent() {
		return this.announcecontent;
	}

	public void setAnnouncecontent(String announcecontent) {
		this.announcecontent = announcecontent;
	}

	public Timestamp getAnnouncetime() {
		return this.announcetime;
	}

	public void setAnnouncetime(Timestamp announcetime) {
		this.announcetime = announcetime;
	}

}
